﻿using System.ComponentModel;

namespace Yz.Model.Enums
{
    /// <summary>
    /// 用户类型
    /// </summary>
    [Flags]
    public enum PersonType
    {
        /// <summary>
        /// 教师
        /// </summary>
        [Description("教师")]
        Teacher = 1,
        /// <summary>
        /// 班主任
        /// </summary>
        [Description("班主任")]
        ClassManager = 2,
        /// <summary>
        /// 任课教师
        /// </summary>
        [Description("任课教师")]
        CourseTeacher = 4,
        /// <summary>
        /// 学校管理员
        /// </summary>
        [Description("学校管理员")]
        SchoolManager = 8,
        /// <summary>
        /// 系统管理员
        /// </summary>
        [Description("系统管理员")]
        Manager = 16,
        /// <summary>
        /// 教研员
        /// </summary>
        [Description("教研员")]
        StaffTeacher = 32,
        /// <summary>
        /// 学生
        /// </summary>
        [Description("学生")]
        Student = 64
    }
}
